//
//  AppConst.h
//  PeiJue
//
//  Created by 李西亚 on 2017/9/20.
//  Copyright © 2017年 lixiya. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef NS_ENUM(NSInteger, HttpResponseCode) {
    /* 操作成功 */
    HttpResponseCodeSuccess                   = 0,  /* 响应成功 */
    /* 业务错误码 :自定义*/
    HttpResponseCodeInvalidToken              = 11, //token无效
    HttpResponseCodeSessionTimeOut            = 12, //账号闲置过久
    HttpResponseCodeRemotelogin               = 13, //异地登录
    HttpResponseCodeInvalidUser               = 14, //用户不存在
    HttpResponseCodeNoData                    = 1001,
    HttpResponseCodeUnkonwError               = 9001,  /* 定义未知错误*/
    
    HttpResponseCodeNotConnectedToInternet    = NSURLErrorNotConnectedToInternet,//-1009
};

///*******    通知    ********///
UIKIT_EXTERN NSString * const kSelectedAlbumChangedNotification;



///*******    登录相关    ********///






///*******      其他    ********///



@interface AppConst : NSObject
+ (instancetype)sharedInstance;

///*******    HOST    ********///
- (NSString *)apiHost;
- (NSString *)webHtmlHost;
/** 渠道名称 */
- (NSString *)channelName;

@end


